<html>
<head><meta charset="utf-8"><title>x86-64 micro-architecture levels · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x86-64.20micro-architecture.20levels.html">x86-64 micro-architecture levels</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="204498595"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x86-64%20micro-architecture%20levels/near/204498595" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x86-64.20micro-architecture.20levels.html#204498595">(Jul 20 2020 at 23:55)</a>:</h4>
<p>Have compiler folks already seen the proposals in glibc to introduce new aggregate baseline sets of CPU features? Thread at <a href="https://sourceware.org/pipermail/libc-alpha/2020-July/116135.html">https://sourceware.org/pipermail/libc-alpha/2020-July/116135.html</a></p>



<a name="204498652"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x86-64%20micro-architecture%20levels/near/204498652" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x86-64.20micro-architecture.20levels.html#204498652">(Jul 20 2020 at 23:56)</a>:</h4>
<p>The plan is to have the dynamic linker search for those so it doesn't have to search for a combinatorial set of features.</p>



<a name="204498696"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x86-64%20micro-architecture%20levels/near/204498696" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x86-64.20micro-architecture.20levels.html#204498696">(Jul 20 2020 at 23:57)</a>:</h4>
<p>Those new baselines will be used by distributions for compiling optimized versions of libraries.</p>



<a name="204498743"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x86-64%20micro-architecture%20levels/near/204498743" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x86-64.20micro-architecture.20levels.html#204498743">(Jul 20 2020 at 23:58)</a>:</h4>
<p>So once the details settle down, and support starts going into LLVM, we should consider adding that support ourselves.</p>



<a name="204498791"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x86-64%20micro-architecture%20levels/near/204498791" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x86-64.20micro-architecture.20levels.html#204498791">(Jul 20 2020 at 23:58)</a>:</h4>
<p>(They'd also be good targets for feature-based function optimizations in the standard library.)</p>



<a name="204498799"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x86-64%20micro-architecture%20levels/near/204498799" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x86-64.20micro-architecture.20levels.html#204498799">(Jul 20 2020 at 23:58)</a>:</h4>
<p>I’d be much more interested in getting whatever the linkage mechanism based on arbitrary feature detection code work somehow.</p>



<a name="204498807"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x86-64%20micro-architecture%20levels/near/204498807" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x86-64.20micro-architecture.20levels.html#204498807">(Jul 20 2020 at 23:58)</a>:</h4>
<p>ifunc?</p>



<a name="204498816"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x86-64%20micro-architecture%20levels/near/204498816" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x86-64.20micro-architecture.20levels.html#204498816">(Jul 20 2020 at 23:58)</a>:</h4>
<p>I think its that, yeah.</p>



<a name="204498821"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x86-64%20micro-architecture%20levels/near/204498821" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x86-64.20micro-architecture.20levels.html#204498821">(Jul 20 2020 at 23:58)</a>:</h4>
<p>Yeah, that would be great to have.</p>



<a name="204498874"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x86-64%20micro-architecture%20levels/near/204498874" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x86-64.20micro-architecture.20levels.html#204498874">(Jul 20 2020 at 23:59)</a>:</h4>
<p><a href="https://sourceware.org/glibc/wiki/GNU_IFUNC">https://sourceware.org/glibc/wiki/GNU_IFUNC</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>